# coding: utf-8
from cv2 import cv2
import numpy as np
#三种蓝色的hsv
blues =[[120, 178, 255], [120, 153, 255], [120, 127, 255]]
img0 = np.ones((2,2),dtype=np.uint8)
rgb_img = cv2.cvtColor(img0,cv2.COLOR_GRAY2RGB) #rgb
blues_rgb = []
for i in blues:
    h,s,v = (i[0],i[1],i[2])
    rgb_img[:,:,:] = (h,s,v)
    RGB = cv2.cvtColor(rgb_img, cv2.COLOR_HSV2RGB)
    blues_rgb.append(RGB[1,1,:].tolist())
print(blues_rgb)